package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * 库存商品表
 *
 * @author wxw
 * @email
 * @date 2020-03-24 17:22:46
 */

@Data
@TableName("unimall_warehouse_goods")
public class WarehouseGoodsDO extends SuperDO {

    /**
     *
     */
    /**
     *
     */
    @TableField("warehouse_id")
    private Long warehouseId;
    /**
     *
     */
    @TableField("sku_id")
    private Long skuId;
    /**
     * 单位
     */
    @TableField("unit")
    private String unit;
    /**
     *
     */
    @TableField("warehouse_sku_stock")
    private Float warehouseSkuStock;
    /**
     *
     */
    @TableField("admin_id")
    private Long adminId;

    @TableField("sku_bar_code")
    private String skuBarCode;
    @TableField("price")
    private Long price;
    @TableField("allprice")
    private Long allprice;
    @TableField("title")
    private String title;
    @TableField("spu_id")
    private Long spuId;
    @TableField("img")
    private String img;
    @TableField("warehouse_name")
    private String warehouseName;

    @TableField("goods_history_amount")
    private Float goodsHistoryAmount;

    @TableField("alarm")
    private Float alarm;

    @TableField(exist = false)
    private Float avgPrice;

    @TableField("goods_pre_aver_price")
    private Long goodsPreAverPrice;

    @TableField("unit_id")
    private Long unitId;

    /**
     * 是否删除
     */
    @TableField("is_delete")
    private Integer isDelete;
}
